﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GFMS.MODEL
{
    [Serializable]
    public class M_FIM_MAS_Contacts
    {
        private int CONTACT_SEQ;
        private string CONTACT_NAME;
        private Nullable<int> SELLER_SEQ;
        private string CONTACT_TYPE;
        private string TAX_ID;
        private string CITIZEN_ID;
        private string IS_JURISTIC;
        private string TAX_DEDUCT;
        private string ADDRESS;
        private Nullable<int> DISTRICT_SEQ;
        private Nullable<int> COUNTRY_SEQ;
        private string POSTAL_CODE;
        private string TEL;
        private string FAX;
        private string EMAIL;
        private string CONTACT_STATUS;

        private string DISTRICT_NAME;
        private string AMP_NAME;
        private string PROV_NAME;
        private string COUNTRY_NAME;
        private string DISTRICT_TEXT;
        private string CONTACT_STATUS_NAME;
        private string CONTACT_TYPE_NAME;
        private string CONTACT_TYPE_GROUP_NAME;

        private string RECORD_STATUS;
        private string RECORD_STATUS_NAME;
        private Nullable<int> CREATED_BY;
        private Nullable<DateTime> CREATED_WHEN;
        private Nullable<int> UPDATED_BY;
        private Nullable<DateTime> UPDATED_WHEN;

        public M_FIM_MAS_Contacts()
        {

        }

        public M_FIM_MAS_Contacts(int CONTACT_SEQ
            , string CONTACT_NAME
            , Nullable<int> SELLER_SEQ
            , string CONTACT_TYPE
            , string TAX_ID
            , string CITIZEN_ID
            , string IS_JURISTIC
            , string TAX_DEDUCT
            , string ADDRESS
            , Nullable<int> DISTRICT_SEQ
            , Nullable<int> COUNTRY_SEQ
            , string POSTAL_CODE
            , string TEL
            , string FAX
            , string EMAIL
            , string CONTACT_STATUS
            , string DISTRICT_NAME
            , string AMP_NAME
            , string PROV_NAME
            , string COUNTRY_NAME
            , string DISTRICT_TEXT
            , string CONTACT_STATUS_NAME
            , string CONTACT_TYPE_NAME
            , string CONTACT_TYPE_GROUP_NAME

            , string RECORD_STATUS
            , string RECORD_STATUS_NAME
            , Nullable<int> CREATED_BY, Nullable<DateTime> CREATED_WHEN
            , Nullable<int> UPDATED_BY, Nullable<DateTime> UPDATED_WHEN)
        {
            this.CONTACT_SEQ = CONTACT_SEQ;
            this.CONTACT_NAME = CONTACT_NAME;
            this.SELLER_SEQ = SELLER_SEQ;
            this.CONTACT_TYPE = CONTACT_TYPE;
            this.TAX_ID = TAX_ID;
            this.CITIZEN_ID = CITIZEN_ID;
            this.IS_JURISTIC = IS_JURISTIC;
            this.TAX_DEDUCT = TAX_DEDUCT;
            this.ADDRESS = ADDRESS;
            this.DISTRICT_SEQ = DISTRICT_SEQ;
            this.COUNTRY_SEQ = COUNTRY_SEQ;
            this.POSTAL_CODE = POSTAL_CODE;
            this.TEL = TEL;
            this.FAX = FAX;
            this.EMAIL = EMAIL;
            this.CONTACT_STATUS = CONTACT_STATUS;

            this.DISTRICT_NAME = DISTRICT_NAME;
            this.AMP_NAME = AMP_NAME;
            this.PROV_NAME = PROV_NAME;
            this.COUNTRY_NAME = COUNTRY_NAME;
            this.DISTRICT_TEXT = DISTRICT_TEXT;
            this.CONTACT_STATUS_NAME = CONTACT_STATUS_NAME;
            this.CONTACT_TYPE_NAME = CONTACT_TYPE_NAME;
            this.CONTACT_TYPE_GROUP_NAME = CONTACT_TYPE_GROUP_NAME;

            this.RECORD_STATUS = RECORD_STATUS;
            this.RECORD_STATUS_NAME = RECORD_STATUS_NAME;
            this.CREATED_BY = CREATED_BY;
            this.CREATED_WHEN = CREATED_WHEN;
            this.UPDATED_BY = UPDATED_BY;
            this.UPDATED_WHEN = UPDATED_WHEN;
        }

        public int contact_seq
        {
            set { CONTACT_SEQ = value; }
            get { return CONTACT_SEQ; }
        }

        public string contact_name
        {
            set { CONTACT_NAME = value; }
            get { return CONTACT_NAME; }
        }

        public Nullable<int> seller_seq
        {
            set { SELLER_SEQ = value; }
            get { return SELLER_SEQ; }
        }

        public string contact_type
        {
            set { CONTACT_TYPE = value; }
            get { return CONTACT_TYPE; }
        }

        public string tax_id
        {
            set { TAX_ID = value; }
            get { return TAX_ID; }
        }

        public string citizen_id
        {
            set { CITIZEN_ID = value; }
            get { return CITIZEN_ID; }
        }

        public string is_juristic
        {
            set { IS_JURISTIC = value; }
            get { return IS_JURISTIC; }
        }

        public string tax_deduct
        {
            set { TAX_DEDUCT = value; }
            get { return TAX_DEDUCT; }
        }

        public string address
        {
            set { ADDRESS = value; }
            get { return ADDRESS; }
        }

        public Nullable<int> district_seq
        {
            set { DISTRICT_SEQ = value; }
            get { return DISTRICT_SEQ; }
        }

        public Nullable<int> country_seq
        {
            set { COUNTRY_SEQ = value; }
            get { return COUNTRY_SEQ; }
        }

        public string postal_code
        {
            set { POSTAL_CODE = value; }
            get { return POSTAL_CODE; }
        }

        public string tel
        {
            set { TEL = value; }
            get { return TEL; }
        }

        public string fax
        {
            set { FAX = value; }
            get { return FAX; }
        }

        public string email
        {
            set { EMAIL = value; }
            get { return EMAIL; }
        }

        public string contact_status
        {
            set { CONTACT_STATUS = value; }
            get { return CONTACT_STATUS; }
        }

        public string district_name
        {
            set { DISTRICT_NAME = value; }
            get { return DISTRICT_NAME; }
        }

        public string amp_name
        {
            set { AMP_NAME = value; }
            get { return AMP_NAME; }
        }

        public string prov_name
        {
            set { PROV_NAME = value; }
            get { return PROV_NAME; }
        }

        public string country_name
        {
            set { COUNTRY_NAME = value; }
            get { return COUNTRY_NAME; }
        }

        public string district_text
        {
            set { DISTRICT_TEXT = value; }
            get { return DISTRICT_TEXT; }
        }

        public string contact_status_name
        {
            set { CONTACT_STATUS_NAME = value; }
            get { return CONTACT_STATUS_NAME; }
        }

        public string contact_type_name
        {
            set { CONTACT_TYPE_NAME = value; }
            get { return CONTACT_TYPE_NAME; }
        }

        public string contact_type_group_name
        {
            set { CONTACT_TYPE_GROUP_NAME = value; }
            get { return CONTACT_TYPE_GROUP_NAME; }
        }


        //====================================================================

        public string record_status
        {
            set { RECORD_STATUS = value; }
            get { return RECORD_STATUS; }
        }

        public string record_status_name
        {
            set { RECORD_STATUS_NAME = value; }
            get { return RECORD_STATUS_NAME; }
        }

        public Nullable<int> created_by
        {
            set { CREATED_BY = value; }
            get { return CREATED_BY; }
        }

        public Nullable<DateTime> created_when
        {
            set { CREATED_WHEN = value; }
            get { return CREATED_WHEN; }
        }

        public Nullable<int> updated_by
        {
            set { UPDATED_BY = value; }
            get { return UPDATED_BY; }
        }

        public Nullable<DateTime> updated_when
        {
            set { UPDATED_WHEN = value; }
            get { return UPDATED_WHEN; }
        }
    }
}
